package com.huxuesong.prcc.dto;

import lombok.Data;

import java.io.Serializable;
import java.lang.reflect.Array;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class UmsMemberTransferInfoDTO implements Serializable {
    public static final Integer EXCHANGE_ETH_PRCC = 1;
    public static final String  EXCHANGE_ETH_PRCC_STR = "ETH兑换PRCC";
    public static final Integer EXCHANGE_PRCC_ETH = 2;
    public static final String  EXCHANGE_PRCC_ETH_STR = "PRCC兑换ETH";
    public static final Integer INNER_TRANSFER_ETH = 3;
    public static final String  INNER_TRANSFER_ETH_STR = "内部转出ETH";
    public static final Integer INNER_TRANSFER_PRCC = 4;
    public static final String  INNER_TRANSFER_PRCC_STR = "内部转出PRCC";
    public static final Integer OUTER_TRANSFER_ETH = 5;
    public static final String  OUTER_TRANSFER_ETH_STR = "外部转账ETH" ;
    public static final Integer OUTER_TRANSFER_PRCC = 6;
    public static final String  OUTER_TRANSFER_PRCC_STR = "外部转入PRCC" ;
    public static final Integer AWARD_TRANSFER_ETH = 13;
    public static final String  AWARD_TRANSFER_ETH_STR = "奖励ETH";
    public static final Integer AWARD_TRANSFER_PRCC = 14;
    public static final String  AWARD_TRANSFER_PRCC_STR = "奖励PRCC";
    public static final Integer EXCHANGE_PRCC_STOEKN = 19;
    public static final String  EXCHANGE_PRCC_STOKEN_STR = "PRCC兑换S令牌";
    public static final Integer EXCHANGE_STOEKN_PRCC = 20;
    public static final String  EXCHANGE_STOKEN_PRCC_STR = "S令牌兑换PRCC";

    public static final Integer SHOCK_TREE_PRCC = 21;
    public static final String  SHOCK_TREE_PRCC_STR = "摇一摇掉落PRCC";

    public static final Integer SHOCK_TREE_INIT_PRCC_LOCK = 22;
    public static final String  SHOCK_TREE_INIT_PRCC_LOCK_STR = "购买摇钱树获得锁定prcc";

    public static final Integer  EXCHANGE_YUANBAO_PRCC = 23;
    public static final String  EXCHANGE_YUANBAO_PRCC_STR = "元宝兑换prcc";

    public static final Integer UNLOCK_PRCC = 24;
    public static final String  UNLOCK_PRCC_STR = "解锁锁定的prcc";

    public static final Integer TUIJIAN_TREE_PRCC = 25;
    public static final String  TUIJIAN_TREE_PRCC_STR = "推荐人购买树获得PRCC";

    public static final Integer TUIJIAN_WITHDRAW_PRCC = 26;
    public static final String  TUIJIAN_WITHDRAW_PRCC_STR = "推荐人提现获得S令牌";



    public static final Integer TRANSFER_TYPE_ALL = 1; // 所有
    public static final Integer TRANSFER_TYPE_OUT = 2; // 出账
    public static final Integer[] TRANSFER_TYPE_OUT_LIST = new Integer[]{3,4};
    public static final Integer TRANSFER_TYPE_IN = 3;  // 入账
    public static final Integer[] TRANSFER_TYPE_IN_LIST = new Integer[]{5,6,13,14};
    public static final Integer TRANSFER_TYPE_EXCHANGE = 4; //兑换
    public static final Integer[] TRANSFER_TYPE_EXCHANGE_LIST = new Integer[]{1,2,19,20,21,22,23};
    public static final Integer TRANSFER_TYPE_UNLOCKPRCC = 5; //解锁

    public static final Integer TRANSFER_TYPE_OTHER = 6;  //其它类型的
    public static final Integer[] TRANSFER_TYPE_OTHER_LIST = new Integer[]{25,26};

    //传入参数 通过邀请码转账用
    // 验证码
    private String code;
    private String userName;
    private BigDecimal prcc;
    private BigDecimal sToken;
    private int type;
    private int amountType;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getUserName() {
        return userName;
    }

    public BigDecimal getSToken() {
        return sToken;
    }

    public void setSToken(BigDecimal sToken) {
        this.sToken = sToken;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public BigDecimal getPrcc() {
        return prcc;
    }

    public void setPrcc(BigDecimal prcc) {
        this.prcc = prcc;
    }


    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }


}
